(check_protected_fields): Delete decl.
authorRichard M. Stallman <rms@gnu.org>
Sat, 6 Mar 1993 02:58:49 +0000 (02:58 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 6 Mar 1993 02:58:49 +0000 (02:58 +0000)
src/insdel.c

index 35345440c2ad89a57c3512e0cc01774d0350f904..7b5b8e083c188b7b1103e13e6138f4ae0a09cb6d 100644 (file)
@@ -24,10 +24,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include "buffer.h"
 #include "window.h"
 
-/* Nonzero means don't allow protected fields to be modified.  */
-
-extern int check_protected_fields;
-
 /* Move gap to position `pos'.
    Note that this can quit!  */
 
@@ -497,11 +493,6 @@ prepare_to_modify_buffer (start, end)
   if (!NILP (current_buffer->read_only))
     Fbarf_if_buffer_read_only ();
 
-#if 0                          /* Superceded by interval code */
-  if (check_protected_fields)
-    Fregion_fields (start, end, Qnil, Qt);
-#endif
-
   /* Only defined if Emacs is compiled with USE_TEXT_PROPERTIES */
   verify_interval_modification (current_buffer, start, end);